package com.hnust.controller.paper.paperManagement;

import com.hnust.controller.MainController;
import com.hnust.controller.paper.component.PreviewPaperController;
import com.hnust.domain.CourseData;
import com.hnust.domain.PaperData;
import com.hnust.domain.PaperInfo;
import com.hnust.domain.Result;
import com.hnust.fx.FXMLController;
import com.hnust.service.TestPaperService;
import com.hnust.store.DataStore;
import com.hnust.store.PaperListDataStore;
import com.hnust.view.paper.component.PreviewPaperView;
import javafx.application.Platform;
import javafx.beans.value.ChangeListener;
import javafx.beans.value.ObservableValue;
import javafx.collections.FXCollections;
import javafx.collections.ObservableList;
import javafx.event.ActionEvent;
import javafx.event.EventHandler;
import javafx.fxml.FXML;
import javafx.fxml.Initializable;
import javafx.geometry.Pos;
import javafx.scene.control.*;
import javafx.scene.control.cell.PropertyValueFactory;
import javafx.scene.input.KeyCode;
import javafx.scene.input.KeyEvent;
import javafx.scene.layout.AnchorPane;
import javafx.scene.layout.HBox;
import javafx.stage.StageStyle;
import javafx.util.Callback;
import org.springframework.beans.factory.annotation.Autowired;
import retrofit2.Call;
import retrofit2.Response;

import java.io.IOException;
import java.net.URL;
import java.util.ArrayList;
import java.util.List;
import java.util.Optional;
import java.util.ResourceBundle;
import java.util.stream.Collectors;

@FXMLController
public class PaperPreviewController {

    @Autowired
    private DataStore dataStore;
    @Autowired
    private PaperListDataStore paperListDataStore;

    @FXML
    public Button generatePaper;
    @FXML
    public Button autoPaper;
    @FXML
    public ScrollPane container;
    @FXML
    public AnchorPane contain;



}
